#!/bin/bash

[ -f /opt/factory_test/scripts_lib/common.sh ] && source /opt/factory_test/scripts_lib/common.sh

ARG=$1
if [ $ARG == "stop" ];then
	man_kill $0 rga-stress
	exit 0
fi

titel "RGA STRESS"

export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/opt/factory_test/tools/lib/
/opt/factory_test/tools/bin/rga-stress $RGA_THREAD $RGA_NOT_DISPLAY

man_exit 2
